 
function test123(){
	alert("test");
}
function testmy(){
	alert("test");
}

///$('#pcaseListGrid').datagrid({ onClickRow: function () {//代码  } });

$('#pcaseListGrid').datagrid({  

	onClickRow:function(index,row){  //easyui封装好的时间（被单机行的索引，被单击行的值）
		alert(index);
	//需要传递的值
		//var drName = row["drName"];
		//alert("drName:" + drName);
	},

	onSelect:function(index,row){
		alert(index);
	}
})



/* function getMySelected(){
alert("3333");
var row = $('#pcaseListGrid').datagrid('getSelected');
if (row){
	$.messager.alert('Info', row.drName);
}
} */


/*$('#pcaseViewLayout').panel('center').href='zyemr/pcaseWrite';
$('#pcaseViewLayout').panel('center').refresh;

$('#pcaseCenter').href='zyemr/pcaseWrite';

$('#pcaseViewLayout').layout('update',{    
    region: 'center',    
    href: 'zyemr/pcaseWrite', 
    onLoad:function(){    
        alert('loaded successfully');    
    }    
    title: 'West Title',    
    split: true,    
    tools: [{    
        iconCls:'icon-add',    
        handler:function(){alert('add')}    
    },{    
        iconCls:'icon-remove',    
        handler:function(){alert('remove')}    
    }]    
});  */



